Digital camera

ABSTRACT

A digital camera includes: an image-capturing unit that captures an image of a photographic subject, and outputs the captured image; a shake amount detection unit that detects a shake amount of the digital camera; a shake correction actuation unit that is actuated for enabling a shake correction function; and a control unit that, when the shake correction actuation unit is actuated, enables an operation of a first shake correction function that sets image capture conditions of the image-capturing unit to image capture conditions in which emphasis is placed upon high sensitivity, and an operation of a second shake correction function that performs shake correction processing by performing image processing upon the image captured by the image-capturing unit, and moreover controls, based upon the shake amount detected by the shake amount detection unit, whether or not the second shake correction function, whose operation has been enabled, can be applied to the image.

TECHNICAL FIELD

The present invention relates to a digital camera that performs shakecorrection in a simple and also appropriate manner.

BACKGROUND ART

In the prior art, as functions that have beneficial effects for reducingthe shake of a digital camera, there are known: a function of increasingthe sensitivity of the digital camera (high speed shutter); a functionof selecting, from images captured in sequence, the best image in whichthe shake is least (see Patent Reference #1); a function of performingshake correction processing electronically (see Patent Reference #2);and so on.

-   Patent Reference #1: Japanese Laid-Open Patent Publication    2000-209484;-   Patent Reference #2: Japanese Laid-Open Patent Publication    2004-205806.

DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention

However, since these functions are independent, it is necessary toperform the menu settings individually in order to establish the optimumsettings for shake reduction. Due to this, it has been difficult for abeginner to set the functions to those that are optimum for providingthe benefits of shake reduction.

Means for Solving the Problems

According to the 1st aspect of the present invention, a digital cameracomprises: an image-capturing unit that captures an image of aphotographic subject, and outputs the captured image; a shake amountdetection unit that detects a shake amount of the digital camera; ashake correction actuation unit that is actuated for enabling a shakecorrection function; and a control unit that, when the shake correctionactuation unit is actuated, enables an operation of a first shakecorrection function that sets image capture conditions of theimage-capturing unit to image capture conditions in which emphasis isplaced upon high sensitivity, and an operation of a second shakecorrection function that performs shake correction processing byperforming image processing upon the image captured by theimage-capturing unit, and moreover controls, based upon the shake amountdetected by the shake amount detection unit, whether or not the secondshake correction function, whose operation has been enabled, can beapplied to the image.

According to the 2nd aspect of the present invention, in the digitalcamera according to the 1st aspect, it is preferred that: there isfurther endowed with a third shake correction function of selecting,from a series of images captured by the image-capturing unit, a bestimage in which blur is small; and when the shake correction actuationunit is actuated, the control unit enables the first shake correctionfunction, the second shake correction function, and the third shakecorrection function.

According to the 3rd aspect of the present invention, in the digitalcamera according to the 2nd aspect, it is preferred that the controlunit: sets, with the first shake correction function, image captureconditions of the image-capturing unit to image capture conditions inwhich emphasis is placed upon high sensitivity; performs image captureof the series of images and selection of a best image with the thirdshake correction function, using the image-capturing unit that has beenset to those image capture conditions in which emphasis is placed uponhigh sensitivity; and performs shake correction with the second shakecorrection function by image processing upon the best image that hasbeen selected in which the blur is small.

According to the 4th aspect of the present invention, in the digitalcamera according to the 3rd aspect, it is preferred that the controlunit performs shake correction processing by image processing with thesecond shake correction function upon the best image in which the bluris small that has been selected by the third shake correction function,when the shake amount detected by the shake amount detection unit isgreater than or equal to a first predetermined value and is less than orequal to a second predetermined value that is larger than the firstpredetermined value.

According to the 5th aspect of the present invention, in the digitalcamera according to any one of the 2nd through 4th aspects, it ispreferred that when the third shake correction function is enabled, theimage-capturing unit captures the series of images while a shutterrelease button is continuously pressed.

According to the 6th aspect of the present invention, in the digitalcamera according to any one of the 1st through 5th aspects, it ispreferred that the shake correction actuation unit includes an actuationmember that enables the shake correction functions upon being actuatedonce by the photographer.

Advantageous Effect of the Invention

Since the present invention has the structure described above, itbecomes possible to perform shake correction in a simple and moreoverappropriate manner.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a figure showing the structure of a digital camera 1 that isan embodiment of the present invention;

FIG. 2 is a figure showing the structure of an actuation button group14;

FIG. 3 is a figure showing program lines that are used in a normalphotographic mode and a shake correction photographic mode;

FIG. 4 is a figure showing a flow chart of a control program that isexecuted by a control unit 11;

FIG. 5 is a figure showing a continuation of this flow chart of thecontrol program of FIG. 4; and

FIG. 6 is a figure showing a further continuation of this flow chart ofthe control program of FIG. 4.

BEST MODE FOR CARRYING OUT THE INVENTION

FIG. 1 is a figure showing the structure of a digital camera 1 that isan embodiment of the present invention. This digital camera 1 includes acontrol unit 11, an image-capturing unit 12, an angular velocity sensor13, an actuation button group 14, an image processing unit 15, a liquidcrystal monitor 16, a buffer memory 17, a memory card 18, a strobe 19,and so on.

The control unit 11 consists of a micro processor and its peripheralcircuitry, and performs various types of control of the digital camera 1by executing a control program that is stored in a ROM not shown in thefigures. The image-capturing unit 12 includes an image sensor 21 thatconsists of a CCD or the like, an amplifier circuit 22, an A/D convertercircuit 23, and so on.

The image sensor 21 includes a plurality of pixels, and receives a raybundle from a photographic subject via a photographic optical system notshown in the figures, performs photoelectric conversion, and outputsimage capture signals corresponding to the various pixels. The amplifiercircuit 22 amplifies the image capture signals outputted from the imagesensor 21 by a predetermined amplification ratio, and outputs theresults to the A/D converter circuit 23. The A/D converter circuit 23converts these image capture signals into digital data, that it outputs.And the control unit 11 collects together the digital data correspondingto each pixel, outputted from the image capturing unit 12, into imagedata for a single image, that it temporarily stores in the buffer memory17. It should be understood that, by adjusting the amplification ratioof the amplifier circuit 22, the sensitivity of the image-capturing unit12, in other words the photographic sensitivity of the digital camera 1,may be adjusted.

This image data that has been stored in the buffer memory 17 issubjected to image processing of various types by the image processingunit 15, and may be displayed upon the liquid crystal monitor 16 orstored upon the memory card 18. The memory card 18 consists of anon-volatile flash memory or the like, and can be fitted to and detachedfrom the digital camera 1.

The angular velocity sensor 13 is a sensor that detects the physicalshake amount (the hand shaking amount) of the digital camera 1. As shownin FIG. 2, the actuation button group 14 includes actuation buttons andactuation switches of various types, such as a shake correction button31, a shutter release button 32, a photographic/replay mode changeoverswitch 33, a power supply switch 34, and so on, all of which may beactuated by the photographer. The image processing unit 15 is a circuitthat performs image processing of various types upon the image datacaptured by the image-capturing unit 12, such as interpolation,compression, white balance adjustment, and so on, and is constitutedwith an ASIC. Moreover, this image processing unit 15 also performselectronic shake correction processing, as will be describedhereinafter. And the stroke 19 emits flash light and illuminates thephotographic subject, according to the strobe setting condition andaccording to requirements.

The digital camera 1 of this embodiment has a photographic mode in whichit captures an image of the photographic subject and records the imagedata having been created upon the memory card 18, and a replay mode inwhich it reads out image data that is recorded upon the memory card 18and replays that data upon the liquid crystal monitor 16. By actuatingthe power supply switch 34 and turning the power supply of this digitalcamera 1 ON and OFF, and by actuating the photographic/replay modechangeover switch 33, the photographer may change over between thephotographic mode and the replay mode, as appropriate.

With the digital camera 1 of this embodiment, when the shake correctionbutton 31 is actuated during the photographic mode, the system thenchanges over to a shake (blur) correction photographic mode, and thiscamera is distinguished in which, during this shake correctionphotographic mode, shake countermeasures are performed by automaticallyenabling shake countermeasure functions of various types all at the sametime. Moreover this camera is distinguished in which, in the normalphotographic mode, it is arranged to perform electronic hand shakecorrection processing only if a predetermined condition is satisfied.

In this embodiment, the term “shaking” includes vibration of the digitalcamera 1 engendered when the photographer takes a photograph whileholding the camera 1 by hand, in other words, hand shake (handmovement), and also includes photographic subject shake caused by thephotographic subject moving. However, since photographic subject shakeoccurs at slower shutter speeds than hand shake, accordingly, if handshake countermeasures are instituted, then photographic subject shakecountermeasures will also be instituted. It should be understood thatthe phenomenon of the captured image becoming blurred due to shaking isalso included under the concept of shake.

—Photographic Modes—

When the power supply is turned ON with the power supply switch 34, andthe photographic mode is selected by actuation of thephotographic/replay mode changeover switch 33, then, when the shakecorrection button 31 is actuated (i.e. is depressed), this digitalcamera 1 changes over to the shake correction photographic mode. And,when the shake correction button 31 is actuated during the shakecorrection photographic mode state, the camera changes over to theoriginal normal photographic mode. Thus, during the photographic mode,the shake correction button 31 acts as a mode changeover button forchanging over the camera between the normal photographic mode and theshake correction photographic mode.

This shake correction button 31 is a dedicated button that is providedfor, during the photographic mode, changing over between the normalphotographic mode and the shake correction photographic mode, and, bythe use thereof, the photographer can perform changing over between thenormal photographic mode and the shake correction photographic mode by asingle actuation (“one-touch”). In other words, the shake correctionbutton 31 is an actuation member with which, by actuating it once, thephotographer can immediately change over to the shake correctionphotographic mode. It should be understood that this shake correctionbutton 31 could also be a switch of some other type. For example, aslide type switch could also be employed. In other words, any form forthis shake correction button would be acceptable, provided that it is aswitch with which, by the photographer actuating it one time only, it ispossible to command changing over between the normal photographic modeand the shake correction photographic mode to be performed.

When the camera changes over to the shake correction photographic mode,the control unit 11 automatically sets the following functions, andenables all of these functions simultaneously:

(1) increase of sensitivity (a program line specific to the shakecorrection photographic mode that gives priority to increase of thesensitivity)

(2) a best shot selector (BSS) function;

(3) electronic hand shake correction.

—Increase of Sensitivity (Using a Program Line Specific to the ShakeCorrection Photographic Mode)—

FIG. 3 is a figure showing program lines (a program chart) that are usedin the normal photographic mode and the shake correction photographicmode. FIG. 3( a) shows the relationship between luminance and shutterspeed (timing), and a program line #1 is used for the normalphotographic mode, while a program line #2 is used for the shakecorrection photographic mode. And FIG. 3( b) shows the relationshipbetween luminance and sensitivity, and a program line #3 is used for thenormal photographic mode, while a program line #4 is used for the shakecorrection photographic mode. The luminance is shown along the verticalaxis, with brighter being upwards in the figure and darker beingdownwards in the figure. In FIG. 3( a), the shutter speed is shown alongthe horizontal axis, with higher speed being rightwards in the figureand lower speed being leftwards in the figure. And, in FIG. 3( b), thesensitivity is shown along the horizontal axis, with higher sensitivitybeing rightwards in the figure and lower sensitivity being leftwards inthe figure.

As shown in FIG. 3, in the program lines #2 and #4 that are dedicated tothe shake correction photographic mode, an increase of sensitivity andan increase of shutter speed are implemented from high luminance, ascompared with the program lines #1 and #3 for the normal photographicmode. In other words, the photographic conditions are set while givingemphasis to high sensitivity. Increase of the sensitivity of the digitalcamera 1 is implemented by increasing the amplification ratio of theamplifier circuit 22 of the image-capturing unit 12.

In FIG. 3, in the normal photographic mode, along with reduction of theluminance from the luminance value B5 to the luminance value B4, whilethe shutter speed is kept at T2, the sensitivity is increased from S1 toS2 in correspondence to the luminance value. Next, from the luminancevalue B4 to the luminance value B2, while the sensitivity is kept at S2,the shutter speed is reduced from T2 to T1 in correspondence to theluminance value. Next, from the luminance value B2 to the luminancevalue B1, while the shutter speed is kept at T1, the sensitivity isincreased from S2 to S3 in correspondence to the luminance value. Next,from the luminance value B1 downwards, while the sensitivity is kept atS3, the shutter speed is reduced in correspondence to the luminancevalue.

On the other hand, in the shake correction photographic mode, along withreduction of the luminance from the luminance value B6 that is higherthan the luminance value B5 to the luminance value B3, while the shutterspeed is kept at T3 that is a higher speed than T2, the sensitivity isincreased from S1 to S4 in correspondence to the luminance value. Next,from the luminance value B3 downwards, while the sensitivity is kept atS4, the shutter speed is reduced in correspondence to the luminancevalue. It should be understood that the sensitivity S1 may, for example,correspond to ISO 100, while the sensitivity S4 may, for example,correspond to ISO 800.

By doing this, the program lines #2 and #4 for the shake correctionphotographic mode are, below the luminance value B6, positioned to theright side of the program lines #1 and #3 for the normal photographicmode, so that increase of sensitivity and higher shutter speeds areimplemented in this shake correction photographic mode, as compared tothe normal photographic mode. As a result, when the shake correctionphotographic mode is selected, it is possible to reduce photographicsubject shake and hand shake.

It should be understood that while, depending upon the competence of thephotographer, sometimes hand shake may be considerable, still theshutter speed T3 is a speed at which, generally, it can be relied uponthat hand shake will not occur. The shutter speed at which it can berelied upon that hand shake will not occur is generally given in secondsby 1/the focal distance (in mm, converted to 35 mm film type). Forexample, in the case of a digital camera to which a photographic lens of105 mm focal distance (converted to 35 mm film type) is mounted, theshutter speed T3 at which it can be relied upon that hand shake will notoccur is 1/105 sec or 1/125 sec. In this embodiment the shutter speed T3may be, for example, 1/125 sec.

And the shutter speed T2 is a shutter speed at which, generally, handshake is said to occur. At lower shutter speeds than this, thepossibility that hand shake will occur becomes great. In this embodimentthe shutter speed T2 may be, for example, 1/60 sec. And the shutterspeed T1 is a shutter speed at which, generally, photographic subjectshake takes place. At lower shutter speeds than this, the possibilitythat photographic subject shake will occur becomes great. In thisembodiment the shutter speed T1 may be, for example, ½ sec.

In the shake correction photographic mode, the increase of thesensitivity is started at the time point of the shutter speed T3 atwhich it can be relied upon that hand shake will not occur, and handshake countermeasures can be more reliably contemplated than in thenormal photographic mode.

It should be understood that, in the normal photographic mode, from theluminance value B2 to the value B1, the sensitivity is increased from S2to S3 while keeping the shutter speed at T1. Due to this, in the normalphotographic mode, a reduction of the photographic subject shake due toincrease of the sensitivity may be anticipated.

—The Best Shot Selector (BSS) Function—

The best shot selector function is a function of, while the shutterrelease button 32 is pressed, for each frame that is photographed,selecting that image for which the amount of hand shake is less thanthat of the previous file that is recorded in the buffer memory 17, andthen recording upon the memory card 18 only that image for which, afterthe decision for the final frame, the amount of hand shake is thesmallest. In other words, this best shot selector function is a shakecorrection function in which, from a plurality of images in series thatare captured by the image-capturing unit 12, the best image in which theshake (blur) is lowest is selected.

In the shake correction photographic mode, the best shot selectorfunction is automatically enabled, and the best shot selector functionis performed for an image that is photographed upon the program linededicated to the shake correction photographic mode. Due to this, it ispossible to record an image in which, in addition to increase of thesensitivity, the shake (blur) is low.

The decision as to the amount of shake (blur) for execution of the bestshot selector function, is performed according to the size of the imagefile of the image data after compression. It is decided that imageswhose image data file size is large are images in which the shake (blur)is low. This is because, the less is the shake (blur), the greater therelative magnitudes of the edge components and the high frequencycomponents become, and the greater the image file size after compressionbecomes.

Apart from this, it would also be acceptable to decide upon themagnitude of the hand shake, in other words upon the shake amount, fromthe shutter speed during photography, and from the output signal of theangular velocity sensor that is housed within the camera. Or, it wouldalso be acceptable to decide upon the magnitude of the hand shake, inother words upon the shake amount, from a shake function that iscalculated from the output signal of the angular velocity sensor.

—Electronic Hand Shake Correction—

Electronic hand shake correction is a function of performing hand shakecorrection electronically during image capture (photography) on thebasis of hand shake information; in concrete terms, it is a function ofperforming hand shake correction by image processing. In other words,the shake amount of the digital camera 1 (i.e. the hand shake amount) isobtained from the output signal of the angular velocity sensor 13, ashake function is obtained from this hand shake amount that has beenobtained, and hand shake correction is performed by filter processing onthis basis of this shake function that has been obtained. Thiselectronic hand shake correction processing is performed by the imageprocessing unit 15 under control from the control unit 11. It should beunderstood that, since this electronic hand shake correction processingis a per se known technique, detailed explanation thereof will beomitted. In this embodiment, any of various types of per se knownelectronic hand shake correction processing, in which hand shakecorrection is performed by image processing on the basis of hand shakeinformation during image capture (photography), may be employed.

In the normal photographic mode, the electronic hand shake correctionfunction is enabled when some predetermined condition is satisfied. And,in the shake correction photographic mode, the electronic hand shakecorrection function is unconditionally enabled. When the electronic handshake correction function is enabled, an electronic hand shakecorrection icon is displayed upon the through image on the liquidcrystal monitor 16. By doing this, the photographer is able to know thatthe electronic hand shake correction function has become enabled.

The Normal Photographic Mode

In the normal photographic mode, if the setting for electronic handshake correction is established in the auto setting (hereinafter termedthe “auto photographic mode”) in which the camera is left to performphotography by itself, then, if “night portrait scene” or “party scene”is set, the electronic hand shake correction function is enabled whenall of the following three conditions are satisfied. For a nightportrait scene or a party scene, the possibility that this is asituation in which a person is being photographed in a dark place ishigh, and so, if the following conditions are satisfied, shakecorrection processing is automatically enabled:

(1) the strobe setting is OFF or “slow synchro”;

(2) the shutter speed is between T1 and T2 described above;

(3) “single shot” shooting is being performed.

Under the above conditions, there is a high possibility that photographyis being performed of a human subject in a dark location or the like, sothat hand shake may well occur. The condition that the shutter speedshould be between T1 and T2 is in order to perform electronic hand shakeprocessing at shutter speeds that are between the shutter speed at whichphotographic subject shake occurs and the shutter speed at which handshake occurs. To put this in another manner, if the shutter speed is oneat which there is a possibility that hand shake may occur, whilephotographic subject shake will probably not occur, then electronic handshake processing is performed.

Furthermore, if the shutter speed is lower than T1, then the hand shakebecomes great and also photographic subject shake enters into play, sothat electronic hand shake correction does not work effectively. And, ifthe shutter speed is higher than T2, then the influence of hand shakebecomes small, so that the necessity for electronic hand shakecorrection processing disappears. Due to this, it is possible to preventthe execution of useless electronic hand shake correction processing, byproviding the condition that the shutter speed is between T1 and T2.

The reason that the strobe setting is set to OFF or “slow synchro” isthat, if the strobe is set to ON, normally the shutter speed is notlower than T2, so that there is no necessity for electronic hand shakecorrection processing. It should be understood that the fact that“single shot” is set as a condition is because electronic hand shakecorrection processing is not possible during continuous shooting, sinceelectronic hand shake correction processing takes a certain time.

When the electronic hand shake correction function is enabled in thenormal photographic mode, predetermined image processing is performedupon the image data that has been captured by the shutter release button32 being full pressed, in order to eliminate fixed pattern noise and soon, and electronic hand shake correction processing (restorationprocessing with a reverse conversion filter) is performed upon the imagedata (the YCbCr image) before JPEG compression on the basis of the shakeamount information that has been calculated from the output signal ofthe angular velocity sensor 13 during capture of the image. Thereafter,the image is compressed by JPEG compression, Exif file processing(header processing) is performed, and then it is recorded upon thememory card 18.

It should be understood that, in this embodiment, when performingelectronic hand shake correction processing, a determination as towhether or not the electronic hand shake correction processing isactually to be performed is made on the basis of the shake amount fromthe angular velocity sensor 13. This is in order to ensure that thiselectronic hand shake correction processing is only performed in thenecessary minimum level of cases, because it takes a substantial time.

First, even if the electronic hand shake correction function is enabled,if the shake amount from the angular velocity sensor 13 is less than afirst predetermined value, then electronic hand shake processing is notactually performed. This first predetermined value is a value such thathand shake almost does not occur, as when the digital camera is fixed toa tripod or the like. Due to this, it is possible to prevent theexecution of electronic hand shake processing undesirably taking acertain time even though hand shake is not actually occurring.

Next, even if the electronic hand shake correction function is enabled,if the shake amount from the angular velocity sensor 13 is greater thana second predetermined value, then electronic hand shake processing isnot actually performed. This second predetermined value is a value thatis larger than the first predetermined value, and represents the case ofgreat shaking that cannot be corrected by the electronic hand shakecorrection. In this type of case as well, it is possible to preventuseless electronic hand shake correction processing being performed.

It should be understood that, instead of making this decision as towhether or not to perform correction from the shake amount, it wouldalso be acceptable to arrange to decide on the basis of information suchas the shutter speed, the focal distance, or the like. Moreover, sincethe probability of the occurrence of shake is decreased in the case ofan image that has been captured with the strobe setting being ON, itwould also be acceptable to make this decision as to whether or not toperform shake amount correction, from the strobe setting.

During the electronic hand shake correction processing, along withcausing an icon of a sandglass to be displayed upon the liquid crystalmonitor 16 as rotating in order to show that processing is taking place,a message “hand shake correction being performed” is also displayed.However, if the processing time is one second or less (i.e. when theimage that is the subject of processing is small), then this processingunder way message is not displayed.

While the message that processing is under way is being displayed, it ismade possible to cancel the electronic hand shake correction processingby actuating the shake correction button 31 and the shutter releasebutton 32. The other buttons are disabled. If the electronic hand shakeprocessing is canceled, the image before processing is recorded upon thememory card 18. In this case, an electronic hand shake correctionprocessing completed flag that shows whether or not electronic handshake correction processing has been performed is set to OFF.

When the electronic hand shake correction processing has been completed,then the image after processing is recorded, while the image beforeprocessing is not recorded. In other words, there is only one recordedphotographic image. This recorded image includes both the shake amountinformation from the angular velocity sensor 13, and also a flag thatshows whether or not processing was performed. In an image afterprocessing, the electronic hand shake correction processing completedflag is set to ON. The file name of the recorded image is set asnormally, and, as normal, the last image number in sequence +1 isappended thereto. It should be understood that, even in the case of animage that was captured with the electronic hand shake correctionfunction in the OFF state, the above described shake amount informationis recorded in the image data, in order to make it possible to performelectronic hand shake correction processing during replay.

The shake correction photographic mode Next, the processing in the shakecorrection photographic mode will be explained. In the shake correctionphotographic mode, the electronic hand shake correction function isautomatically enabled. When the system changes over from the shakecorrection photographic mode to some other photographic mode, then theelectronic hand shake correction function is disabled. However, in thenormal photographic mode, if the conditions described above aresatisfied, then the electronic hand shake correction function isenabled.

In the shake correction photographic mode, decompression processing isperformed upon the single JPEG compressed image that has been decidedupon by the best shot selector function described above (i.e. upon thatimage that finally remains in the buffer memory 17), and electronic handshake correction processing is performed thereupon on the basis of theshake amount information from the angular velocity sensor 13 for whichimage during image capture (i.e. during photography).

Even when performing electronic hand shake correction processing duringthe shake correction photographic mode, as explained above in connectionwith the normal photographic mode, whether or not actually to performthe electronic hand shake correction processing is determined on thebasis of the shake amount from the angular velocity sensor 13. In otherwords, the electronic hand shake correction processing is only performedwhen the shake amount is between the first predetermined value and thesecond predetermined value. Moreover, the processing for performingrecording upon the memory card 18 after the electronic hand shakecorrection processing has been performed is the same as that explainedfor the normal photography mode, as described above. Accordingly furtherexplanation of these features will be omitted, and reference should bemade to the explanation of the normal photographic mode in the abovedescription.

By doing the above, and by, in the shake correction photographic mode,performing shake correction upon that image for which it has beendetermined by the best shot selector function that the hand shake amountis small, it is possible to record an image in which shake (blur) isminimized to a yet further extent.

—The Replay Mode—

With this digital camera 1, when the power supply is turned ON with thepower supply switch 34 and the replay mode is selected by actuation ofthe photographic/replay mode changeover switch 33, electronic hand shakecorrection processing is performed upon the image that is beingdisplayed when the shake correction button 31 is actuated (i.e. isdepressed). In this replay mode, it will be supposed that a single imageis being replayed. During the replay mode, the shake correction button31 is a function execution button that performs shake correction byimage processing upon the image that is being displayed. This electronichand shake correction is performed in a similar manner to whichperformed during the normal photographic mode, as described above.

In order to make it explicit whether or not electronic hand shakecorrection can be performed upon the image that is being displayed,during single image display, a “shake correction possible” icon isdisplayed upon an image for which electronic hand shake correction ispossible, a “shake correction not possible” icon is displayed upon animage for which electronic shake correction is not possible, and a“shake correction already performed” icon is displayed upon an image forwhich electronic hand shake correction has already been performed. Thisicon display is performed on the basis of the shake correction flag thatis attached to the image.

This shake correction flag may be added when the image is captured onthe basis of the shake function, and may also be added to the imageafter shake function calculation, when the image is first displayedduring replay. Moreover, since it becomes difficult for electronic handshake correction to be effective if the shake amount is large,accordingly whether or not electronic hand shake correction processingis actually performed is decided on the basis of the shake amountappended to the image data, in a similar manner to the way in which thisis decided during the photographic mode. Moreover, it would also beacceptable to arrange to make this decision as to whether or not toperform electronic hand shake correction processing from the shutterspeed or the focal distance or the like, instead of from the shakeamount. Furthermore, it would also be acceptable to make this decisionas to whether or not to perform electronic hand shake correctionprocessing from the strobe setting, since the probability of theoccurrence of shake is decreased in the case of an image that wascaptured with the strobe set to ON.

When electronic hand shake processing is performed, the image afterelectronic hand shake correction processing is given a different filename and constitutes a different file, and the original image is kept.The JPEG compression ratio, the resolution, and the Exif tag informationare taken over from the original image. In the image after processing,the electronic hand shake processing completed flag is turned ON, and itis recorded upon the memory card 18 with a different file name.

—The Control Program—

FIG. 4 is a figure showing a flow chart for a control program executedby the control unit 11. The control program of FIG. 4 is stored in a ROMnot shown in the figures, and starts when the power supply to thedigital camera 1 is turned ON by the power supply switch 34 being turnedON.

In a step S1, a decision is made as to whether the photographic/replaymode changeover switch 33 is set to the photographic mode or to thereplay mode. If it is set to the photographic mode then the flow ofcontrol proceeds to a step S2, whereas if it is set to the replay modethen the flow of control is transferred to a step S21 of FIG. 5.

In the step S2, a decision is made as to whether or not the shakecorrection button 31 is depressed. When in the normal photographic modestate the shake correction button 31 is depressed, then the flow ofcontrol proceeds to a step S3 in order to change over to the shakecorrection photographic mode. But when in the shake correctionphotographic mode state the shake correction button 31 is depressed,then the flow of control is transferred to the step S31 of FIG. 6 inorder to change over to the normal photographic mode. And if in thisstep S2 the shake correction button 31 is not depressed, then the flowof control is transferred either to the step S3 or to the step S31 ofFIG. 6, depending upon the current photographic mode.

In the step S3, for the shake correction photographic mode, thepreviously described three functions are enabled. In other words, thededicated program line (increase of sensitivity) for the shakecorrection photographic mode is used, the best shot selector (BSS)function is turned ON, and it is arranged to perform electronic handshake correction if the predetermined conditions are satisfied.

In a step S4, an electronic hand shake correction icon is displayed overthe through image upon the liquid crystal monitor 16. And in a step S5 adecision is made as to whether or not the shutter release button 32 isfull pressed. If it is full pressed then the flow of control proceeds toa step S6, whereas if it is not full pressed then the flow of controlreturns to the step S4 and the above described processing is repeated.

In the step S6, image capture is performed using the dedicated shakecorrection photographic mode program line. And in a step S7, if theimage that has been captured is the first image captured with theshutter release button 32 full pressed, then it is stored just as it isin the buffer memory 17, and the flow of control proceeds to a step S8.But if the image that has been captured in the step S6 is the second orsubsequent image captured from when the shutter release button 32 wasfull pressed, then it is compared with the best image up to the previousone, that is stored in the buffer memory 17, and the best one of thesetwo images is overwritten into the buffer memory 17. By the best imageis meant, as described above, that image in which the shake (blur) isthe least.

In the step S8, a decision is made as to whether or not the fullpressing of the shutter release button 32 has ended. If the fullpressing has ended then the flow of control proceeds to a step S9,whereas if the full pressing has not ended then the flow of controlreturns to the step S6 and the processing described above is repeated.

In the step S9, a decision is made as to whether or not the best imagestored in the buffer memory 17 is an image within the range ofelectronic hand shake correction. As previously described, on the basisof the shake amount from the angular velocity sensor 13, this is decidedaccording to whether or not the shake amount is within a predeterminedrange. If it is decided that this is an image within the electronic handshake correction range, then the flow of control proceeds to a step S10,whereas if it is decided that this is not an image within the electronichand shake correction range, then the flow of control is transferred toa step S13.

In the step S10, as previously described, electronic hand shakecorrection processing is performed by the image processing unit 15 uponthe image stored in the buffer memory 17, that has been selected asbeing the best image by the best shot selector function. And then in astep S11 a decision is made as to whether or not the shake correctionbutton 31 or the shutter release button 32 has been depressed duringthis electronic hand shake correction processing, in other words as towhether or not a command has been issued to cancel the electronic handshake correction processing. If it is decided that a cancellationcommand has been issued, then the flow of control is transferred to astep S13, whereas if it is decided that no cancellation command has beenissued, then the flow of control proceeds to a step S12.

In the step S12, a decision is made as to whether or not the electronichand shake correction processing has been completed. The electronic handshake correction processing normally takes around 2 to 3 seconds,although this depends upon the size of the image. If it is decided inthis step S12 that the electronic hand shake correction processing hasbeen completed, then the image after electronic hand shake correctionprocessing is stored in the buffer memory 17, and then the flow ofcontrol proceeds to the step S13. But if it is decided that theelectronic hand shake correction processing has not yet been completed,then the flow of control returns to the step S10 and the processingdescribed above is repeated.

In the step S13, the image that is stored in the buffer memory 17 isrecorded upon the memory card 18. If the electronic hand shakecorrection processing ended normally, then it is the image afterelectronic hand shake correction processing that is stored in the buffermemory. Accordingly it is the image upon which electronic hand shakecorrection processing has been performed that is stored upon the memorycard 18.

If in the step S9 it has been decided that the image is not within theelectronic hand shake correction range, or if in the step S11 it hasbeen decided that a cancel command for the electronic hand shakecorrection processing was issued, then the original image in the buffermemory 17, before electronic hand shake correction processing, isstored. In other words, the image that was selected by the best shotselector function as being the best image is stored. Accordingly, animage is stored upon the memory card 18 that has only been selected bythe best shot selector, but upon which electronic hand shake processinghas not been performed.

When the recording of the image upon the memory card 18 in the step S13has been completed, the flow of control returns to the step S1 and theprocessing described above is repeated.

FIG. 5 is a figure showing a continuation of the flow chart of thecontrol program of FIG. 4. If, in the step S1 of FIG. 4, it is decidedthat the photographic/replay mode changeover switch 33 is set to thereplay mode, then the flow of control is transferred to the step S21 ofFIG. 5.

In the step S21, a single image that is stored upon the memory card 18is read out and is displayed upon the liquid crystal monitor 16. Then ina step S22 a decision is made as to whether or not the shake correctionbutton 31 is depressed. If it is decided that the shake correctionbutton 31 is depressed then the flow of control proceeds to a step S32,whereas if it is decided that the button 31 is not depressed then theflow of control returns to the step S1 and the processing describedabove is repeated. In the step S21, according to actuation of a buttonin the actuation button group 14 for stepping forward the replay image,the next appropriate image is read out and displayed.

In the step S23, a decision is made as to whether or not the image thatis being displayed upon the liquid crystal monitor 16 is an image uponwhich electronic hand shake correction can be performed. For determiningwhether or not this is an image upon which electronic hand shakecorrection can be performed, it is decided whether or not the shakeamount information from the angular velocity sensor 13 is sufficient,whether or not the shake amount obtained from the shake amountinformation described above is within the range in which electronic handshake correction is possible, whether or not this is an image upon whichelectronic handshake correction processing has already been completed,whether or not this image is one of a type upon which it is not possibleto perform electronic hand shake correction, such as a video image orthe like, and so on. Whether or not the shake amount obtained from theshake amount information described above is within the range in whichelectronic hand shake correction is possible, is determined in the samemanner as during the photographic mode.

If, in the step S23, it has been decided that electronic hand shakecorrection processing is possible, then the flow of control proceeds toa step S24, whereas if such correction processing is not possible thenthe flow of control is transferred to a step S28. In the step S24, amessage enquiring whether or not electronic hand shake correction is tobe performed (“YES/NO”) is displayed upon the liquid crystal monitor 16,and then the flow of control proceeds to a step S25.

In the step S25, a decision is made as to whether or not a command forelectronic hand shake processing to be performed has been issued. If, inthis step S25, it is decided that a command to perform electronic handshake correction processing has been issued via the actuation buttongroup 14, then the flow of control proceeds to a step S26, whereas if itis decided that a command for correction processing not to be performedhas been issued, then the flow of control returns to the step S1 and theprocessing described above is repeated.

In the step S26, electronic hand shake correction processing isperformed by the processing unit 15 upon the image data for the imagethat is being displayed upon the liquid crystal monitor 16, in a similarmanner to the case during the photographic mode. Since the image that isrecorded upon the memory card 18 is one that was processed by JPEGcompression, accordingly the electronic hand shake compressionprocessing is only performed after having performed decompressionprocessing thereupon, in a similar manner to the shake correctionphotographic mode in the normal photographic mode. And in the step S27,the image upon which electronic hand shake correction processing hasbeen performed in the step S26 is recorded upon the memory card 18 as adifferent file from the original image. Thereafter the flow of controlreturns to the step S1 and the processing described above is repeated.

And, in the step S28, a message “Cannot perform electronic hand shakecorrection processing” is displayed for about 2 seconds. Thereafter theflow of control returns to the step S1 and the processing describedabove is repeated.

FIG. 6 is a figure showing a further continuation of the flow chart ofthe control program of FIG. 4. If, in the step S2 of FIG. 4, it isdecided to proceed to the normal photographic mode, then the flow ofcontrol is transferred to the step S31 of FIG. 6. In this step S31, adecision is made as to whether or not the shutter release button 32 isfull pressed. If the shutter release button 32 is full pressed then theflow of control proceeds to a step S32, whereas if it is not fullpressed then the processing of the step S31 is repeated. In the stepS32, an image is captured using the program line for the normalphotographic mode, and this captured image is stored in the buffermemory 17.

In the step S33, a decision is made as to whether the setting forelectronic hand shake correction is during the auto photographic mode,or “night portrait scene”, or “party scene”. If any one of these isdecided upon, then the flow of control proceeds to a step S34, whereasif it is decided that none of them is the case, then the flow of controlis transferred to a step S38.

In the step S34, a decision is made as to whether the strobe setting isON or OFF. If it is decided that the strobe setting is OFF then the flowof control proceeds to a step S35, whereas if it is decided that thesetting is ON then the flow of control is transferred to a step S38. Inthe step S35, a decision is made as to whether or not the shutter speedduring capture of the captured image was within the range between T1 andT2. If it is decided that the shutter speed was within the range betweenT1 and T2, then the flow of control proceeds to a step S36, whereas ifit is decided that the shutter speed was not within that range, then theflow of control is transferred to the step S38.

In the step S36, a decision is made as to whether or not the image thatis stored in the buffer memory 17 is an image that is within the rangefor electronic hand shake correction prevention. As previouslydescribed, this decision is performed by deciding, on the basis of theshake amount from the angular velocity sensor 13, whether or not theshake amount is within a predetermined range. If it is decided that thisis an image that is within the electronic hand shake correction range,then the flow of control proceeds to a step S37, whereas if it isdecided that it is not an image that is within the electronic hand shakecorrection range, then the flow of control is transferred to the stepS38.

In the step S37, electronic hand shake processing is performed upon theimage that is stored in the buffer memory 17, and then the resultingimage is overwritten into the buffer memory 17. And in the next stepS38, the image that is stored in the buffer memory 17 is recorded uponthe memory card 18. If electronic hand shake correction processing wasperformed in the step S37, then the image data after completion of theelectronic hand shake correction processing is stored in the buffermemory 17, whereas, if the electronic hand shake correction processingof the step S37 was skipped, then the image data for the image that wascaptured in the step S32 is still stored in the buffer memory 17.Thereafter, the flow of control returns to the step S1 and theprocessing described above is repeated. It should be understood that, inthe processing of FIG. 6, processing to produce and add the date isomitted.

According to this embodiment as explained above, the followingbeneficial operational effects may be obtained.

(1) In the photographic mode, when the shake correction button 31 isdepressed, it is arranged to enable, automatically and simultaneously,all three functions, i.e. the increase of sensitivity (using the programline that is dedicated to the shake correction photographic mode), thebest shot selector (BSS) function, and the electronic hand shakecorrection function. Due to this, it becomes possible to performphotography based upon the best settings for shake (blur) reduction in asimple manner, by one-touch actuation. The photographer does not need tomake these menu settings individually; rather, he is able to make thebest settings for shake (blur) reduction in a simple manner, even if heis a beginner.

(2) Since it is arranged to perform the shake correction functions inthe order: the sensitivity increase function—the best shot selector(BSS) function—the electronic hand shake correction function,accordingly the shake correction is performed in an effective mannerwith good efficiency. In other words, first, the sensitivity increasefunction operates; then, while capturing images in the state in whichthe sensitivity has been increased, the best image is selected with thebest shot selector function; and then, according to requirements,electronic hand shake correction processing is performed upon the bestimage that has been selected with the best shot selector function. Dueto this, it is possible to anticipate a reduction of shake (blur) in aneffective manner with good efficiency.

(3) Although the electronic hand shake correction function is enabledautomatically upon depression of the shake correction button 31, it isarranged only actually to perform this shake correction function whenthe predetermined conditions relating to the shake amount of the digitalcamera 1 and so on are satisfied. Due to this, although the processingfor the electronic hand shake correction processing occupies a certaintime period, it is possible to prevent unnecessary electronic hand shakecorrection processing from being executed.

In concrete terms, it is arranged to perform electronic hand shakecorrection processing only if the shake amount of the digital camera iswithin the predetermined range. Since electronic hand shake correctionprocessing is unnecessary if the shake amount is small, such as when thedigital camera 1 is fixed upon a tripod or the like, accordingly it ispossible to prevent electronic hand shake correction processing frombeing performed in this type of state. Moreover, if the shake amount islarge, then it becomes hard for electronic hand shake correction to beeffective, and also there is a possibility of inviting imagedeterioration (ringing). Thus, in this type of case as well, it ispossible to prevent the execution of electronic hand shake correctionprocessing that may be useless, or in which there is a possibility ofimage deterioration.

(4) When, during the photographic mode, the shake correction button 31is actuated and the shutter release button 32 is pressed continuously,then a series of images is captured with the best shot selector (BSS)function. Due to this, it is possible to operate the best shot selector(BSS) function with an extremely simple actuation.

(5) In the normal photographic mode, if the setting for electronic handshake correction processing in the auto photographic mode is made, then,if “night portrait scene” or “party scene” is set, it is arranged toenable the electronic hand shake correction function only when thepredetermined conditions are satisfied. Due to this, it is possible toprevent useless electronic hand shake correction processing from beingperformed.

(6) In these predetermined conditions, there is included the conditionthat the shutter speed during image capture should be between T1 and T2.Due to this, whether or not to perform electronic hand shake correctionprocessing is decided on the basis of the shutter speed, in anappropriate manner. In other words, since electronic hand shakecorrection processing is performed only in the case of a shutter speedwhere there is a possibility that hand shake will occur, althoughphotographic subject shake will not occur, accordingly it is possible toprevent useless electronic hand shake correction processing from beingperformed.

(7) It is arranged to enable electronic hand shake correction processingautomatically if the predetermined conditions are satisfied for “nightportrait scene” or “party scene”. Due to this, when photographing aperson in a dark location, hand shake correction is performedappropriately and moreover reliably.

(8) In the above described predetermined conditions, it was arranged toinclude that the strobe setting is OFF or “slow synchro”. Thereby it ispossible to prevent useless hand shake correction processing from beingperformed, since it is difficult for hand shake to occur if the strobeis emitting light.

Variant Embodiments

(1) While, in the embodiment described above, an example was shown inwhich the increase of the sensitivity was performed along anticipatedprogram lines, the present invention need not be limited to the programlines shown in FIG. 3. Some other program lines could also be used.Moreover, it would also be possible to contemplate increasing thesensitivity in some manner other than by following a program line. Inother words, any function that is capable of increasing the sensitivityof the digital camera 1 would be acceptable.

(2) While, in the embodiment described above, an example was shown inwhich the shake amount of the digital camera 1 was detected with theangular velocity sensor 13, it would also be acceptable to arrange todetect the shake amount of the digital camera 1 with some other sensor,or by image processing.

(3) In the embodiment described above, it was arranged to performvarious types of image processing with the image processing unit 15.However, it would also be acceptable to arrange for these various typesof image processing to be performed by the control unit 11 itself.

(4) In the embodiment described above, it was arranged to perform theelectronic hand shake correction processing, only when the predeterminedconditions were satisfied. The details thereof may also be applied to acamera equipped with a shake correction device or the like of a typethat possesses an optical type shake correction device that performsshake correction by physically driving the optical system, or to acamera that is equipped with an image sensor drive type shake correctiondevice that performs shake correction by physically driving the imagesensor itself, or the like. In other words, the optical type shakecorrection device or the image sensor drive type shake correction deviceis controlled to be driven, only if the conditions that were explainedwith reference to the embodiment described above are satisfied. Due tothis, it is possible greatly to reduce the amount of electrical powerthat is consumed for shake correction. In the case of an optical typeshake correction device, this can also be applied to a film camera, andnot only to a digital camera.

(5) While, in the embodiment described above, an example was explainedof a digital camera 1 that is equipped with a strobe 19, the case inwhich an external strobe is used may also be considered. If an externalstrobe is used, then it is possible for the digital camera 1 to read theON/OFF setting of the external strobe, and moreover it is possible forit to set the ON/OFF setting of the external strobe.

Although, in the above description, various embodiments and variantembodiments have been explained, the present invention should not beconsidered to be limited by the details thereof. Other modes are alsoincluded within the scope of the present invention, provided that theycan be considered as falling within the range of the technical conceptof the present invention.

The content of the disclosure of the following application, upon whichpriority is claimed, is hereby incorporated herein by reference:

Japanese Patent Application 2006-226596 (filed on Aug. 23, 2006).

1. A digital camera, comprising: an image-capturing unit that capturesan image of a photographic subject, and outputs the captured image; ashake amount detection unit that detects a shake amount of the digitalcamera; a shake correction actuation unit that is configured to beactuated for enabling a plurality of shake correction functions with asingle actuation; and a control unit that, when the shake correctionactuation unit is actuated with a single actuation, enables both of anoperation of a first shake correction function that sets image captureconditions of the image-capturing unit to image capture conditions inwhich emphasis is placed upon high sensitivity, and an operation of asecond shake correction function that performs shake correctionprocessing by performing image processing upon the image captured by theimage-capturing unit, and moreover controls, based upon the shake amountdetected by the shake amount detection unit, whether or not the secondshake correction function, whose operation has been enabled, can beapplied to the image, wherein when the shake correction actuation unitis not actuated, the control unit enables the second shake correctionfunction.
 2. A digital camera according to claim 1, wherein: there isfurther endowed with a third shake correction function of selecting,from a series of images captured by the image-capturing unit, a bestimage in which blur is small; and when the shake correction actuationunit is actuated with a single actuation, the control unit enables allof the first shake correction function, the second shake correctionfunction, and the third shake correction function.
 3. A digital cameraaccording to claim 2, wherein the control unit: sets, with the firstshake correction function, image capture conditions of theimage-capturing unit to image capture conditions in which emphasis isplaced upon high sensitivity; performs image capture of the series ofimages and selection of a best image with the third shake correctionfunction, using the image-capturing unit that has been set to thoseimage capture conditions in which emphasis is placed upon highsensitivity; and performs shake correction with the second shakecorrection function by image processing upon the best image that hasbeen selected in which the blur is small.
 4. A digital camera accordingto claim 3, wherein the control unit performs shake correctionprocessing by image processing with the second shake correction functionupon the best image in which the blur is small that has been selected bythe third shake correction function, when the shake amount detected bythe shake amount detection unit is greater than or equal to a firstpredetermined value and is less than or equal to a second predeterminedvalue that is larger than the first predetermined value.
 5. A digitalcamera according to claim 2, wherein when the third shake correctionfunction is enabled, the image-capturing unit captures the series ofimages while a shutter release button is continuously pressed.
 6. Adigital camera according to claim 3, wherein when the third shakecorrection function is enabled, the image-capturing unit captures theseries of images while a shutter release button is continuously pressed.7. A digital camera according to claim 4, wherein when the third shakecorrection function is enabled, the image-capturing unit captures theseries of images while a shutter release button is continuously pressed.8. A digital camera according to claim 2, wherein the shake correctionactuation unit includes an actuation member that enables the shakecorrection functions upon being actuated once by the photographer.
 9. Adigital camera according to claim 3, wherein the shake correctionactuation unit includes an actuation member that enables the shakecorrection functions upon being actuated once by the photographer.
 10. Adigital camera according to claim 4, wherein the shake correctionactuation unit includes an actuation member that enables the shakecorrection functions upon being actuated once by the photographer.
 11. Adigital camera according to claim 5, wherein the shake correctionactuation unit includes an actuation member that enables the shakecorrection functions upon being actuated once by the photographer.
 12. Adigital camera according to claim 1, wherein when the shake correctionactuation unit is not actuated and a predetermined condition issatisfied, the control unit enables the second shake correctionfunction.